✨ [feat] 네트워크 재시도 기능 추가 (#40) #133
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Changes
NetworkMonitor.swift (신규)
NWPathMonitor를 활용한 네트워크 연결 상태 실시간 감지DefaultAPIProvider.swift (수정)
RetryConfiguration구조체로 재시도 설정 관리AFError를APIError로 매핑하여 재시도 가능 여부 판단APIError.swift (수정)
networkUnavailable: 네트워크 연결 불가 에러retryExhausted: 최대 재시도 횟수 초과 에러isRetryable속성으로 재시도 가능 여부 판단 (5xx, 408, 429 에러)Test Plan
retryExhausted에러 반환 확인Closes #40
🤖 Generated with Claude Code